use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'POE::Data::Envelope',
    license             => 'gpl',
    dist_author         => 'Nicholas Perez <nperez@cpan.org>',
    dist_version_from   => 'lib/POE/Data/Envelope.pm',
    create_readme       => 1, 
    cerate_makefile_pl  => 'passthrough',
    build_requires => 
    {
        'Test::More'    => 0,
    },

    requires =>
    {
        'perl'          => '5.8.8',
        'POE'           => '0.9999',
        'overload'      => 0,
        'Class::Struct' => 0,
    },

    add_to_cleanup      => [ 'POE-Data-Envelope-*' ],
);

$builder->create_build_script();
